/**
  ******************************************************************************
  * @file    main.h
  * @author  Application Team
    * @Version V1.0.0
  * @Date    1-April-2019    
  * @brief   Header for main.c file.
  *          This file contains the common defines of the application.
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "cx32l003_hal.h"
#include "cx32l003_starterkit.h"

/* Private includes ----------------------------------------------------------*/

#include "io_mapping.h"
#include "log.h"
#include "util.h"
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "time.h"

#include "ccronexpr.h"
#include "io_mapping.h"

#include "uart.h"
#include "lpuart.h"

#include "utility.h"
#include "flash.h"    
#include "aw9523.h"
#include "basetim.h"    
#include "gpio.h"    
//#include "rtc_calendar.h"
#include "iwdg.h"
#include "adc_interrupt.h"
#include "i2c_slave.h"
#include "i2c_master.h"
//#include "task_Gyro.h"
#include "task_alarm.h"
#include "task_control.h"
#include "task_SeriaNet.h"
#include "task_485.h"
//#include "task_rtl8305.h"
#include "bluetooth.h"

#include "YOXO1007.h"
#include "Air724.h"

/* Exported functions prototypes ---------------------------------------------*/
void Error_Handler(void);

void BSP_INIT(void);

/* Private defines -----------------------------------------------------------*/

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */

